package com.industrial.system.api;

import com.industrial.common.core.constant.ServiceNameConstants;
import com.industrial.common.core.domain.R;
import com.industrial.common.core.web.domain.AjaxResult;
import com.industrial.system.api.factory.RemoteLogFallbackFactory;
import com.industrial.system.api.factory.RemotePremuServiceFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "remotePremuService", value = ServiceNameConstants.PREMU_SERVICE, fallbackFactory = RemotePremuServiceFactory.class)
public interface RemotePremuService {

    @GetMapping("/compny_info/selectEnterCompanyId/{uscc}")
    public R<String> selectEnterCompanyId(@PathVariable("uscc") String uscc);

}
